# @Time : 2020/8/31 15:30
# @Author : Fioman 
# @Phone : 13149920693
from matplotlib import pyplot as plt

# 数据点
x = [1, 2, 3]
y = [4, 5, 6]
x2, y2 = [2, 4, 8], [1, 5, 1]

# 画图
plt.plot(x, y, label="one")
plt.plot(x2, y2, label="two")
plt.xlabel("X")
plt.ylabel("Y")
plt.title("First Graph")
plt.legend()
plt.show()
